﻿
    using System;
    using System.Web.UI;

    public partial class WebPage_UserControls_ordermenu : UserControl
    {
        protected int menu = 1;
        protected string title = "所有订单";

        protected void Page_Load(object sender, EventArgs e)
        {
        }

        public int Menu
        {
            get
            {
                return this.menu;
            }
            set
            {
                this.menu = value;
                switch (this.menu)
                {
                    case 1:
                        this.title = "所有订单";
                        break;

                    case 2:
                        this.title = "所有付款订单";
                        break;

                    case 3:
                        this.title = "所有未付订单";
                        break;

                    case 4:
                        this.title = "用户取消订单";
                        break;

                    case 5:
                        this.title = "退款订单";
                        break;

                    case 6:
                        this.title = "未选择快递公司";
                        break;

                    case 7:
                        this.title = "未打印(注:已选快递公司未点击打印)";
                        break;

                    case 8:
                        this.title = "已发货(注:已选快递公司并填写快递单号)";
                        break;

                    case 9:
                        this.title = "未发货(注:未选择快递公司或未填写快递单号的订单)";
                        break;
                }
            }
        }

        public string Title
        {
            get
            {
                return this.title;
            }
            set
            {
                this.title = value;
            }
        }
    }


